package com.campus.service;

import com.campus.dto.CourseConditionDto;
import com.campus.model.Course;

import java.util.List;

public interface CourseService {
    boolean createCourse(Course course);
    List<Course> getCoursesByCondition(CourseConditionDto condition);
    boolean deleteCourse(int courseId);
    boolean updateCourse(Course course);
    List<Course> getAllCourses(); // 新增方法
}
